3.417 \(\int \frac{\sec ^4(c+d x)}{a-b \sin ^4(c+d x)} \, dx\)
Optimal. Leaf size=161 \[ \frac{b \tan ^{-1}\left (\frac{\sqrt{\sqrt{a}-\sqrt{b}} \tan (c+d x)}{\sqrt [4]{a}}\right )}{2 a^{3/4} d \left (\sqrt{a}-\sqrt{b}\right )^{5/2}}+\frac{b \tan ^{-1}\left (\frac{\sqrt{\sqrt{a}+\sqrt{b}} \tan (c+d x)}{\sqrt [4]{a}}\right )}{2 a^{3/4} d \left (\sqrt{a}+\sqrt{b}\right )^{5/2}}+\frac{\tan ^3(c+d x)}{3 d (a-b)}+\frac{(a-3 b) \tan (c+d x)}{d (a-b)^2} \]
[Out]
(b*ArcTan[(Sqrt[Sqrt[a] - Sqrt[b]]*Tan[c + d*x])/a^(1/4)])/(2*a^(3/4)*(Sqrt[a] - Sqrt[b])^(5/2)*d) + (b*ArcTan
[(Sqrt[Sqrt[a] + Sqrt[b]]*Tan[c + d*x])/a^(1/4)])/(2*a^(3/4)*(Sqrt[a] + Sqrt[b])^(5/2)*d) + ((a - 3*b)*Tan[c +
d*x])/((a - b)^2*d) + Tan[c + d*x]^3/(3*(a - b)*d)
________________________________________________________________________________________
Rubi [A] time = 0.347604, antiderivative size = 161, normalized size of antiderivative = 1.,
number of steps used = 6, number of rules used = 4, integrand size = 24, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.167, Rules used =
{3224, 1170, 1166, 205} \[ \frac{b \tan ^{-1}\left (\frac{\sqrt{\sqrt{a}-\sqrt{b}} \tan (c+d x)}{\sqrt [4]{a}}\right )}{2 a^{3/4} d \left (\sqrt{a}-\sqrt{b}\right )^{5/2}}+\frac{b \tan ^{-1}\left (\frac{\sqrt{\sqrt{a}+\sqrt{b}} \tan (c+d x)}{\sqrt [4]{a}}\right )}{2 a^{3/4} d \left (\sqrt{a}+\sqrt{b}\right )^{5/2}}+\frac{\tan ^3(c+d x)}{3 d (a-b)}+\frac{(a-3 b) \tan (c+d x)}{d (a-b)^2} \]
Antiderivative was successfully verified.
[In]
Int[Sec[c + d*x]^4/(a - b*Sin[c + d*x]^4),x]
[Out]
(b*ArcTan[(Sqrt[Sqrt[a] - Sqrt[b]]*Tan[c + d*x])/a^(1/4)])/(2*a^(3/4)*(Sqrt[a] - Sqrt[b])^(5/2)*d) + (b*ArcTan
[(Sqrt[Sqrt[a] + Sqrt[b]]*Tan[c + d*x])/a^(1/4)])/(2*a^(3/4)*(Sqrt[a] + Sqrt[b])^(5/2)*d) + ((a - 3*b)*Tan[c +
d*x])/((a - b)^2*d) + Tan[c + d*x]^3/(3*(a - b)*d)
Rule 3224
Int[cos[(e_.) + (f_.)*(x_)]^(m_)*((a_) + (b_.)*sin[(e_.) + (f_.)*(x_)]^4)^(p_.), x_Symbol] :> With[{ff = FreeF
actors[Tan[e + f*x], x]}, Dist[ff/f, Subst[Int[(a + 2*a*ff^2*x^2 + (a + b)*ff^4*x^4)^p/(1 + ff^2*x^2)^(m/2 + 2
*p + 1), x], x, Tan[e + f*x]/ff], x]] /; FreeQ[{a, b, e, f}, x] && IntegerQ[m/2] && IntegerQ[p]
Rule 1170
Int[((d_) + (e_.)*(x_)^2)^(q_)/((a_) + (b_.)*(x_)^2 + (c_.)*(x_)^4), x_Symbol] :> Int[ExpandIntegrand[(d + e*x
^2)^q/(a + b*x^2 + c*x^4), x], x] /; FreeQ[{a, b, c, d, e}, x] && NeQ[b^2 - 4*a*c, 0] && NeQ[c*d^2 - b*d*e + a
*e^2, 0] && IntegerQ[q]
Rule 1166
Int[((d_) + (e_.)*(x_)^2)/((a_) + (b_.)*(x_)^2 + (c_.)*(x_)^4), x_Symbol] :> With[{q = Rt[b^2 - 4*a*c, 2]}, Di
st[e/2 + (2*c*d - b*e)/(2*q), Int[1/(b/2 - q/2 + c*x^2), x], x] + Dist[e/2 - (2*c*d - b*e)/(2*q), Int[1/(b/2 +
q/2 + c*x^2), x], x]] /; FreeQ[{a, b, c, d, e}, x] && NeQ[b^2 - 4*a*c, 0] && NeQ[c*d^2 - a*e^2, 0] && PosQ[b^
2 - 4*a*c]
Rule 205
Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(Rt[a/b, 2]*ArcTan[x/Rt[a/b, 2]])/a, x] /; FreeQ[{a, b}, x]
&& PosQ[a/b]
Rubi steps
\begin{align*} \int \frac{\sec ^4(c+d x)}{a-b \sin ^4(c+d x)} \, dx &=\frac{\operatorname{Subst}\left (\int \frac{\left (1+x^2\right )^3}{a+2 a x^2+(a-b) x^4} \, dx,x,\tan (c+d x)\right )}{d}\\ &=\frac{\operatorname{Subst}\left (\int \left (\frac{a-3 b}{(a-b)^2}+\frac{x^2}{a-b}+\frac{b (a+b)+b (a+3 b) x^2}{(a-b)^2 \left (a+2 a x^2+(a-b) x^4\right )}\right ) \, dx,x,\tan (c+d x)\right )}{d}\\ &=\frac{(a-3 b) \tan (c+d x)}{(a-b)^2 d}+\frac{\tan ^3(c+d x)}{3 (a-b) d}+\frac{\operatorname{Subst}\left (\int \frac{b (a+b)+b (a+3 b) x^2}{a+2 a x^2+(a-b) x^4} \, dx,x,\tan (c+d x)\right )}{(a-b)^2 d}\\ &=\frac{(a-3 b) \tan (c+d x)}{(a-b)^2 d}+\frac{\tan ^3(c+d x)}{3 (a-b) d}+\frac{\left (\left (\sqrt{a}-\sqrt{b}\right )^3 b\right ) \operatorname{Subst}\left (\int \frac{1}{a-\sqrt{a} \sqrt{b}+(a-b) x^2} \, dx,x,\tan (c+d x)\right )}{2 \sqrt{a} (a-b)^2 d}+\frac{\left (\left (\sqrt{a}+\sqrt{b}\right )^3 b\right ) \operatorname{Subst}\left (\int \frac{1}{a+\sqrt{a} \sqrt{b}+(a-b) x^2} \, dx,x,\tan (c+d x)\right )}{2 \sqrt{a} (a-b)^2 d}\\ &=\frac{b \tan ^{-1}\left (\frac{\sqrt{\sqrt{a}-\sqrt{b}} \tan (c+d x)}{\sqrt [4]{a}}\right )}{2 a^{3/4} \left (\sqrt{a}-\sqrt{b}\right )^{5/2} d}+\frac{b \tan ^{-1}\left (\frac{\sqrt{\sqrt{a}+\sqrt{b}} \tan (c+d x)}{\sqrt [4]{a}}\right )}{2 a^{3/4} \left (\sqrt{a}+\sqrt{b}\right )^{5/2} d}+\frac{(a-3 b) \tan (c+d x)}{(a-b)^2 d}+\frac{\tan ^3(c+d x)}{3 (a-b) d}\\ \end{align*}
Mathematica [A] time = 1.01141, size = 205, normalized size = 1.27 \[ \frac{\frac{3 b \left (-2 \sqrt{a} \sqrt{b}+a+b\right ) \tan ^{-1}\left (\frac{\left (\sqrt{a}+\sqrt{b}\right ) \tan (c+d x)}{\sqrt{\sqrt{a} \sqrt{b}+a}}\right )}{\sqrt{a} \sqrt{\sqrt{a} \sqrt{b}+a}}+4 (a-4 b) \tan (c+d x)-\frac{3 b \left (\sqrt{a}+\sqrt{b}\right )^2 \tanh ^{-1}\left (\frac{\left (\sqrt{a}-\sqrt{b}\right ) \tan (c+d x)}{\sqrt{\sqrt{a} \sqrt{b}-a}}\right )}{\sqrt{a} \sqrt{\sqrt{a} \sqrt{b}-a}}+2 (a-b) \tan (c+d x) \sec ^2(c+d x)}{6 d (a-b)^2} \]
Antiderivative was successfully verified.
[In]
Integrate[Sec[c + d*x]^4/(a - b*Sin[c + d*x]^4),x]
[Out]
((3*b*(a - 2*Sqrt[a]*Sqrt[b] + b)*ArcTan[((Sqrt[a] + Sqrt[b])*Tan[c + d*x])/Sqrt[a + Sqrt[a]*Sqrt[b]]])/(Sqrt[
a]*Sqrt[a + Sqrt[a]*Sqrt[b]]) - (3*(Sqrt[a] + Sqrt[b])^2*b*ArcTanh[((Sqrt[a] - Sqrt[b])*Tan[c + d*x])/Sqrt[-a
+ Sqrt[a]*Sqrt[b]]])/(Sqrt[a]*Sqrt[-a + Sqrt[a]*Sqrt[b]]) + 4*(a - 4*b)*Tan[c + d*x] + 2*(a - b)*Sec[c + d*x]^
2*Tan[c + d*x])/(6*(a - b)^2*d)
________________________________________________________________________________________
Maple [B] time = 0.157, size = 581, normalized size = 3.6 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
int(sec(d*x+c)^4/(a-b*sin(d*x+c)^4),x)
[Out]
1/3/d/(a-b)^2*tan(d*x+c)^3*a-1/3/d/(a-b)^2*tan(d*x+c)^3*b+1/d/(a-b)^2*tan(d*x+c)*a-3/d/(a-b)^2*tan(d*x+c)*b+1/
2/d*b/(a-b)^2/(((a*b)^(1/2)+a)*(a-b))^(1/2)*arctan((a-b)*tan(d*x+c)/(((a*b)^(1/2)+a)*(a-b))^(1/2))*a+3/2/d*b^2
/(a-b)^2/(((a*b)^(1/2)+a)*(a-b))^(1/2)*arctan((a-b)*tan(d*x+c)/(((a*b)^(1/2)+a)*(a-b))^(1/2))+3/2/d*b^2/(a-b)^
2/(a*b)^(1/2)/(((a*b)^(1/2)+a)*(a-b))^(1/2)*arctan((a-b)*tan(d*x+c)/(((a*b)^(1/2)+a)*(a-b))^(1/2))*a+1/2/d*b^3
/(a-b)^2/(a*b)^(1/2)/(((a*b)^(1/2)+a)*(a-b))^(1/2)*arctan((a-b)*tan(d*x+c)/(((a*b)^(1/2)+a)*(a-b))^(1/2))+1/2/
d*b/(a-b)^2/(((a*b)^(1/2)-a)*(a-b))^(1/2)*arctanh((-a+b)*tan(d*x+c)/(((a*b)^(1/2)-a)*(a-b))^(1/2))*a+3/2/d*b^2
/(a-b)^2/(((a*b)^(1/2)-a)*(a-b))^(1/2)*arctanh((-a+b)*tan(d*x+c)/(((a*b)^(1/2)-a)*(a-b))^(1/2))-3/2/d*b^2/(a-b
)^2/(a*b)^(1/2)/(((a*b)^(1/2)-a)*(a-b))^(1/2)*arctanh((-a+b)*tan(d*x+c)/(((a*b)^(1/2)-a)*(a-b))^(1/2))*a-1/2/d
*b^3/(a-b)^2/(a*b)^(1/2)/(((a*b)^(1/2)-a)*(a-b))^(1/2)*arctanh((-a+b)*tan(d*x+c)/(((a*b)^(1/2)-a)*(a-b))^(1/2)
)
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate(sec(d*x+c)^4/(a-b*sin(d*x+c)^4),x, algorithm="maxima")
[Out]
-1/3*(36*(a - 2*b)*cos(4*d*x + 4*c)*sin(2*d*x + 2*c) - 12*(b*sin(4*d*x + 4*c) - (a - 3*b)*sin(2*d*x + 2*c))*co
s(6*d*x + 6*c) - 3*((a^2 - 2*a*b + b^2)*d*cos(6*d*x + 6*c)^2 + 9*(a^2 - 2*a*b + b^2)*d*cos(4*d*x + 4*c)^2 + 9*
(a^2 - 2*a*b + b^2)*d*cos(2*d*x + 2*c)^2 + (a^2 - 2*a*b + b^2)*d*sin(6*d*x + 6*c)^2 + 9*(a^2 - 2*a*b + b^2)*d*
sin(4*d*x + 4*c)^2 + 18*(a^2 - 2*a*b + b^2)*d*sin(4*d*x + 4*c)*sin(2*d*x + 2*c) + 9*(a^2 - 2*a*b + b^2)*d*sin(
2*d*x + 2*c)^2 + 6*(a^2 - 2*a*b + b^2)*d*cos(2*d*x + 2*c) + (a^2 - 2*a*b + b^2)*d + 2*(3*(a^2 - 2*a*b + b^2)*d
*cos(4*d*x + 4*c) + 3*(a^2 - 2*a*b + b^2)*d*cos(2*d*x + 2*c) + (a^2 - 2*a*b + b^2)*d)*cos(6*d*x + 6*c) + 6*(3*
(a^2 - 2*a*b + b^2)*d*cos(2*d*x + 2*c) + (a^2 - 2*a*b + b^2)*d)*cos(4*d*x + 4*c) + 6*((a^2 - 2*a*b + b^2)*d*si
n(4*d*x + 4*c) + (a^2 - 2*a*b + b^2)*d*sin(2*d*x + 2*c))*sin(6*d*x + 6*c))*integrate(-8*(4*b^3*cos(6*d*x + 6*c
)^2 + 4*b^3*cos(2*d*x + 2*c)^2 + 4*b^3*sin(6*d*x + 6*c)^2 + 4*b^3*sin(2*d*x + 2*c)^2 - b^3*cos(2*d*x + 2*c) -
4*(8*a^2*b + 13*a*b^2 - 6*b^3)*cos(4*d*x + 4*c)^2 - 4*(8*a^2*b + 13*a*b^2 - 6*b^3)*sin(4*d*x + 4*c)^2 + 2*(4*a
*b^2 - 11*b^3)*sin(4*d*x + 4*c)*sin(2*d*x + 2*c) - (b^3*cos(6*d*x + 6*c) + b^3*cos(2*d*x + 2*c) - 2*(a*b^2 + 2
*b^3)*cos(4*d*x + 4*c))*cos(8*d*x + 8*c) + (8*b^3*cos(2*d*x + 2*c) - b^3 + 2*(4*a*b^2 - 11*b^3)*cos(4*d*x + 4*
c))*cos(6*d*x + 6*c) + 2*(a*b^2 + 2*b^3 + (4*a*b^2 - 11*b^3)*cos(2*d*x + 2*c))*cos(4*d*x + 4*c) - (b^3*sin(6*d
*x + 6*c) + b^3*sin(2*d*x + 2*c) - 2*(a*b^2 + 2*b^3)*sin(4*d*x + 4*c))*sin(8*d*x + 8*c) + 2*(4*b^3*sin(2*d*x +
2*c) + (4*a*b^2 - 11*b^3)*sin(4*d*x + 4*c))*sin(6*d*x + 6*c))/(a^2*b^2 - 2*a*b^3 + b^4 + (a^2*b^2 - 2*a*b^3 +
b^4)*cos(8*d*x + 8*c)^2 + 16*(a^2*b^2 - 2*a*b^3 + b^4)*cos(6*d*x + 6*c)^2 + 4*(64*a^4 - 176*a^3*b + 169*a^2*b
^2 - 66*a*b^3 + 9*b^4)*cos(4*d*x + 4*c)^2 + 16*(a^2*b^2 - 2*a*b^3 + b^4)*cos(2*d*x + 2*c)^2 + (a^2*b^2 - 2*a*b
^3 + b^4)*sin(8*d*x + 8*c)^2 + 16*(a^2*b^2 - 2*a*b^3 + b^4)*sin(6*d*x + 6*c)^2 + 4*(64*a^4 - 176*a^3*b + 169*a
^2*b^2 - 66*a*b^3 + 9*b^4)*sin(4*d*x + 4*c)^2 + 16*(8*a^3*b - 19*a^2*b^2 + 14*a*b^3 - 3*b^4)*sin(4*d*x + 4*c)*
sin(2*d*x + 2*c) + 16*(a^2*b^2 - 2*a*b^3 + b^4)*sin(2*d*x + 2*c)^2 + 2*(a^2*b^2 - 2*a*b^3 + b^4 - 4*(a^2*b^2 -
2*a*b^3 + b^4)*cos(6*d*x + 6*c) - 2*(8*a^3*b - 19*a^2*b^2 + 14*a*b^3 - 3*b^4)*cos(4*d*x + 4*c) - 4*(a^2*b^2 -
2*a*b^3 + b^4)*cos(2*d*x + 2*c))*cos(8*d*x + 8*c) - 8*(a^2*b^2 - 2*a*b^3 + b^4 - 2*(8*a^3*b - 19*a^2*b^2 + 14
*a*b^3 - 3*b^4)*cos(4*d*x + 4*c) - 4*(a^2*b^2 - 2*a*b^3 + b^4)*cos(2*d*x + 2*c))*cos(6*d*x + 6*c) - 4*(8*a^3*b
- 19*a^2*b^2 + 14*a*b^3 - 3*b^4 - 4*(8*a^3*b - 19*a^2*b^2 + 14*a*b^3 - 3*b^4)*cos(2*d*x + 2*c))*cos(4*d*x + 4
*c) - 8*(a^2*b^2 - 2*a*b^3 + b^4)*cos(2*d*x + 2*c) - 4*(2*(a^2*b^2 - 2*a*b^3 + b^4)*sin(6*d*x + 6*c) + (8*a^3*
b - 19*a^2*b^2 + 14*a*b^3 - 3*b^4)*sin(4*d*x + 4*c) + 2*(a^2*b^2 - 2*a*b^3 + b^4)*sin(2*d*x + 2*c))*sin(8*d*x
+ 8*c) + 16*((8*a^3*b - 19*a^2*b^2 + 14*a*b^3 - 3*b^4)*sin(4*d*x + 4*c) + 2*(a^2*b^2 - 2*a*b^3 + b^4)*sin(2*d*
x + 2*c))*sin(6*d*x + 6*c)), x) + 4*(3*b*cos(4*d*x + 4*c) - 3*(a - 3*b)*cos(2*d*x + 2*c) - a + 4*b)*sin(6*d*x
+ 6*c) - 12*(3*(a - 2*b)*cos(2*d*x + 2*c) + a - 3*b)*sin(4*d*x + 4*c) + 12*b*sin(2*d*x + 2*c))/((a^2 - 2*a*b +
b^2)*d*cos(6*d*x + 6*c)^2 + 9*(a^2 - 2*a*b + b^2)*d*cos(4*d*x + 4*c)^2 + 9*(a^2 - 2*a*b + b^2)*d*cos(2*d*x +
2*c)^2 + (a^2 - 2*a*b + b^2)*d*sin(6*d*x + 6*c)^2 + 9*(a^2 - 2*a*b + b^2)*d*sin(4*d*x + 4*c)^2 + 18*(a^2 - 2*a
*b + b^2)*d*sin(4*d*x + 4*c)*sin(2*d*x + 2*c) + 9*(a^2 - 2*a*b + b^2)*d*sin(2*d*x + 2*c)^2 + 6*(a^2 - 2*a*b +
b^2)*d*cos(2*d*x + 2*c) + (a^2 - 2*a*b + b^2)*d + 2*(3*(a^2 - 2*a*b + b^2)*d*cos(4*d*x + 4*c) + 3*(a^2 - 2*a*b
+ b^2)*d*cos(2*d*x + 2*c) + (a^2 - 2*a*b + b^2)*d)*cos(6*d*x + 6*c) + 6*(3*(a^2 - 2*a*b + b^2)*d*cos(2*d*x +
2*c) + (a^2 - 2*a*b + b^2)*d)*cos(4*d*x + 4*c) + 6*((a^2 - 2*a*b + b^2)*d*sin(4*d*x + 4*c) + (a^2 - 2*a*b + b^
2)*d*sin(2*d*x + 2*c))*sin(6*d*x + 6*c))
________________________________________________________________________________________
Fricas [B] time = 7.96937, size = 9225, normalized size = 57.3 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate(sec(d*x+c)^4/(a-b*sin(d*x+c)^4),x, algorithm="fricas")
[Out]
1/24*(3*(a^2 - 2*a*b + b^2)*d*sqrt(-(a^2*b^2 + 10*a*b^3 + 5*b^4 - (a^6 - 5*a^5*b + 10*a^4*b^2 - 10*a^3*b^3 + 5
*a^2*b^4 - a*b^5)*d^2*sqrt((25*a^4*b^5 + 100*a^3*b^6 + 110*a^2*b^7 + 20*a*b^8 + b^9)/((a^13 - 10*a^12*b + 45*a
^11*b^2 - 120*a^10*b^3 + 210*a^9*b^4 - 252*a^8*b^5 + 210*a^7*b^6 - 120*a^6*b^7 + 45*a^5*b^8 - 10*a^4*b^9 + a^3
*b^10)*d^4)))/((a^6 - 5*a^5*b + 10*a^4*b^2 - 10*a^3*b^3 + 5*a^2*b^4 - a*b^5)*d^2))*cos(d*x + c)^3*log(5/4*a^2*
b^4 + 5/2*a*b^5 + 1/4*b^6 - 1/4*(5*a^2*b^4 + 10*a*b^5 + b^6)*cos(d*x + c)^2 + 1/2*((a^9 - 2*a^8*b - 5*a^7*b^2
+ 20*a^6*b^3 - 25*a^5*b^4 + 14*a^4*b^5 - 3*a^3*b^6)*d^3*sqrt((25*a^4*b^5 + 100*a^3*b^6 + 110*a^2*b^7 + 20*a*b^
8 + b^9)/((a^13 - 10*a^12*b + 45*a^11*b^2 - 120*a^10*b^3 + 210*a^9*b^4 - 252*a^8*b^5 + 210*a^7*b^6 - 120*a^6*b
^7 + 45*a^5*b^8 - 10*a^4*b^9 + a^3*b^10)*d^4))*cos(d*x + c)*sin(d*x + c) + (15*a^4*b^3 + 35*a^3*b^4 + 13*a^2*b
^5 + a*b^6)*d*cos(d*x + c)*sin(d*x + c))*sqrt(-(a^2*b^2 + 10*a*b^3 + 5*b^4 - (a^6 - 5*a^5*b + 10*a^4*b^2 - 10*
a^3*b^3 + 5*a^2*b^4 - a*b^5)*d^2*sqrt((25*a^4*b^5 + 100*a^3*b^6 + 110*a^2*b^7 + 20*a*b^8 + b^9)/((a^13 - 10*a^
12*b + 45*a^11*b^2 - 120*a^10*b^3 + 210*a^9*b^4 - 252*a^8*b^5 + 210*a^7*b^6 - 120*a^6*b^7 + 45*a^5*b^8 - 10*a^
4*b^9 + a^3*b^10)*d^4)))/((a^6 - 5*a^5*b + 10*a^4*b^2 - 10*a^3*b^3 + 5*a^2*b^4 - a*b^5)*d^2)) - 1/4*(2*(a^7*b
- 5*a^6*b^2 + 10*a^5*b^3 - 10*a^4*b^4 + 5*a^3*b^5 - a^2*b^6)*d^2*cos(d*x + c)^2 - (a^7*b - 5*a^6*b^2 + 10*a^5*
b^3 - 10*a^4*b^4 + 5*a^3*b^5 - a^2*b^6)*d^2)*sqrt((25*a^4*b^5 + 100*a^3*b^6 + 110*a^2*b^7 + 20*a*b^8 + b^9)/((
a^13 - 10*a^12*b + 45*a^11*b^2 - 120*a^10*b^3 + 210*a^9*b^4 - 252*a^8*b^5 + 210*a^7*b^6 - 120*a^6*b^7 + 45*a^5
*b^8 - 10*a^4*b^9 + a^3*b^10)*d^4))) - 3*(a^2 - 2*a*b + b^2)*d*sqrt(-(a^2*b^2 + 10*a*b^3 + 5*b^4 - (a^6 - 5*a^
5*b + 10*a^4*b^2 - 10*a^3*b^3 + 5*a^2*b^4 - a*b^5)*d^2*sqrt((25*a^4*b^5 + 100*a^3*b^6 + 110*a^2*b^7 + 20*a*b^8
+ b^9)/((a^13 - 10*a^12*b + 45*a^11*b^2 - 120*a^10*b^3 + 210*a^9*b^4 - 252*a^8*b^5 + 210*a^7*b^6 - 120*a^6*b^
7 + 45*a^5*b^8 - 10*a^4*b^9 + a^3*b^10)*d^4)))/((a^6 - 5*a^5*b + 10*a^4*b^2 - 10*a^3*b^3 + 5*a^2*b^4 - a*b^5)*
d^2))*cos(d*x + c)^3*log(5/4*a^2*b^4 + 5/2*a*b^5 + 1/4*b^6 - 1/4*(5*a^2*b^4 + 10*a*b^5 + b^6)*cos(d*x + c)^2 -
1/2*((a^9 - 2*a^8*b - 5*a^7*b^2 + 20*a^6*b^3 - 25*a^5*b^4 + 14*a^4*b^5 - 3*a^3*b^6)*d^3*sqrt((25*a^4*b^5 + 10
0*a^3*b^6 + 110*a^2*b^7 + 20*a*b^8 + b^9)/((a^13 - 10*a^12*b + 45*a^11*b^2 - 120*a^10*b^3 + 210*a^9*b^4 - 252*
a^8*b^5 + 210*a^7*b^6 - 120*a^6*b^7 + 45*a^5*b^8 - 10*a^4*b^9 + a^3*b^10)*d^4))*cos(d*x + c)*sin(d*x + c) + (1
5*a^4*b^3 + 35*a^3*b^4 + 13*a^2*b^5 + a*b^6)*d*cos(d*x + c)*sin(d*x + c))*sqrt(-(a^2*b^2 + 10*a*b^3 + 5*b^4 -
(a^6 - 5*a^5*b + 10*a^4*b^2 - 10*a^3*b^3 + 5*a^2*b^4 - a*b^5)*d^2*sqrt((25*a^4*b^5 + 100*a^3*b^6 + 110*a^2*b^7
+ 20*a*b^8 + b^9)/((a^13 - 10*a^12*b + 45*a^11*b^2 - 120*a^10*b^3 + 210*a^9*b^4 - 252*a^8*b^5 + 210*a^7*b^6 -
120*a^6*b^7 + 45*a^5*b^8 - 10*a^4*b^9 + a^3*b^10)*d^4)))/((a^6 - 5*a^5*b + 10*a^4*b^2 - 10*a^3*b^3 + 5*a^2*b^
4 - a*b^5)*d^2)) - 1/4*(2*(a^7*b - 5*a^6*b^2 + 10*a^5*b^3 - 10*a^4*b^4 + 5*a^3*b^5 - a^2*b^6)*d^2*cos(d*x + c)
^2 - (a^7*b - 5*a^6*b^2 + 10*a^5*b^3 - 10*a^4*b^4 + 5*a^3*b^5 - a^2*b^6)*d^2)*sqrt((25*a^4*b^5 + 100*a^3*b^6 +
110*a^2*b^7 + 20*a*b^8 + b^9)/((a^13 - 10*a^12*b + 45*a^11*b^2 - 120*a^10*b^3 + 210*a^9*b^4 - 252*a^8*b^5 + 2
10*a^7*b^6 - 120*a^6*b^7 + 45*a^5*b^8 - 10*a^4*b^9 + a^3*b^10)*d^4))) + 3*(a^2 - 2*a*b + b^2)*d*sqrt(-(a^2*b^2
+ 10*a*b^3 + 5*b^4 + (a^6 - 5*a^5*b + 10*a^4*b^2 - 10*a^3*b^3 + 5*a^2*b^4 - a*b^5)*d^2*sqrt((25*a^4*b^5 + 100
*a^3*b^6 + 110*a^2*b^7 + 20*a*b^8 + b^9)/((a^13 - 10*a^12*b + 45*a^11*b^2 - 120*a^10*b^3 + 210*a^9*b^4 - 252*a
^8*b^5 + 210*a^7*b^6 - 120*a^6*b^7 + 45*a^5*b^8 - 10*a^4*b^9 + a^3*b^10)*d^4)))/((a^6 - 5*a^5*b + 10*a^4*b^2 -
10*a^3*b^3 + 5*a^2*b^4 - a*b^5)*d^2))*cos(d*x + c)^3*log(-5/4*a^2*b^4 - 5/2*a*b^5 - 1/4*b^6 + 1/4*(5*a^2*b^4
+ 10*a*b^5 + b^6)*cos(d*x + c)^2 + 1/2*((a^9 - 2*a^8*b - 5*a^7*b^2 + 20*a^6*b^3 - 25*a^5*b^4 + 14*a^4*b^5 - 3*
a^3*b^6)*d^3*sqrt((25*a^4*b^5 + 100*a^3*b^6 + 110*a^2*b^7 + 20*a*b^8 + b^9)/((a^13 - 10*a^12*b + 45*a^11*b^2 -
120*a^10*b^3 + 210*a^9*b^4 - 252*a^8*b^5 + 210*a^7*b^6 - 120*a^6*b^7 + 45*a^5*b^8 - 10*a^4*b^9 + a^3*b^10)*d^
4))*cos(d*x + c)*sin(d*x + c) - (15*a^4*b^3 + 35*a^3*b^4 + 13*a^2*b^5 + a*b^6)*d*cos(d*x + c)*sin(d*x + c))*sq
rt(-(a^2*b^2 + 10*a*b^3 + 5*b^4 + (a^6 - 5*a^5*b + 10*a^4*b^2 - 10*a^3*b^3 + 5*a^2*b^4 - a*b^5)*d^2*sqrt((25*a
^4*b^5 + 100*a^3*b^6 + 110*a^2*b^7 + 20*a*b^8 + b^9)/((a^13 - 10*a^12*b + 45*a^11*b^2 - 120*a^10*b^3 + 210*a^9
*b^4 - 252*a^8*b^5 + 210*a^7*b^6 - 120*a^6*b^7 + 45*a^5*b^8 - 10*a^4*b^9 + a^3*b^10)*d^4)))/((a^6 - 5*a^5*b +
10*a^4*b^2 - 10*a^3*b^3 + 5*a^2*b^4 - a*b^5)*d^2)) - 1/4*(2*(a^7*b - 5*a^6*b^2 + 10*a^5*b^3 - 10*a^4*b^4 + 5*a
^3*b^5 - a^2*b^6)*d^2*cos(d*x + c)^2 - (a^7*b - 5*a^6*b^2 + 10*a^5*b^3 - 10*a^4*b^4 + 5*a^3*b^5 - a^2*b^6)*d^2
)*sqrt((25*a^4*b^5 + 100*a^3*b^6 + 110*a^2*b^7 + 20*a*b^8 + b^9)/((a^13 - 10*a^12*b + 45*a^11*b^2 - 120*a^10*b
^3 + 210*a^9*b^4 - 252*a^8*b^5 + 210*a^7*b^6 - 120*a^6*b^7 + 45*a^5*b^8 - 10*a^4*b^9 + a^3*b^10)*d^4))) - 3*(a
^2 - 2*a*b + b^2)*d*sqrt(-(a^2*b^2 + 10*a*b^3 + 5*b^4 + (a^6 - 5*a^5*b + 10*a^4*b^2 - 10*a^3*b^3 + 5*a^2*b^4 -
a*b^5)*d^2*sqrt((25*a^4*b^5 + 100*a^3*b^6 + 110*a^2*b^7 + 20*a*b^8 + b^9)/((a^13 - 10*a^12*b + 45*a^11*b^2 -
120*a^10*b^3 + 210*a^9*b^4 - 252*a^8*b^5 + 210*a^7*b^6 - 120*a^6*b^7 + 45*a^5*b^8 - 10*a^4*b^9 + a^3*b^10)*d^4
)))/((a^6 - 5*a^5*b + 10*a^4*b^2 - 10*a^3*b^3 + 5*a^2*b^4 - a*b^5)*d^2))*cos(d*x + c)^3*log(-5/4*a^2*b^4 - 5/2
*a*b^5 - 1/4*b^6 + 1/4*(5*a^2*b^4 + 10*a*b^5 + b^6)*cos(d*x + c)^2 - 1/2*((a^9 - 2*a^8*b - 5*a^7*b^2 + 20*a^6*
b^3 - 25*a^5*b^4 + 14*a^4*b^5 - 3*a^3*b^6)*d^3*sqrt((25*a^4*b^5 + 100*a^3*b^6 + 110*a^2*b^7 + 20*a*b^8 + b^9)/
((a^13 - 10*a^12*b + 45*a^11*b^2 - 120*a^10*b^3 + 210*a^9*b^4 - 252*a^8*b^5 + 210*a^7*b^6 - 120*a^6*b^7 + 45*a
^5*b^8 - 10*a^4*b^9 + a^3*b^10)*d^4))*cos(d*x + c)*sin(d*x + c) - (15*a^4*b^3 + 35*a^3*b^4 + 13*a^2*b^5 + a*b^
6)*d*cos(d*x + c)*sin(d*x + c))*sqrt(-(a^2*b^2 + 10*a*b^3 + 5*b^4 + (a^6 - 5*a^5*b + 10*a^4*b^2 - 10*a^3*b^3 +
5*a^2*b^4 - a*b^5)*d^2*sqrt((25*a^4*b^5 + 100*a^3*b^6 + 110*a^2*b^7 + 20*a*b^8 + b^9)/((a^13 - 10*a^12*b + 45
*a^11*b^2 - 120*a^10*b^3 + 210*a^9*b^4 - 252*a^8*b^5 + 210*a^7*b^6 - 120*a^6*b^7 + 45*a^5*b^8 - 10*a^4*b^9 + a
^3*b^10)*d^4)))/((a^6 - 5*a^5*b + 10*a^4*b^2 - 10*a^3*b^3 + 5*a^2*b^4 - a*b^5)*d^2)) - 1/4*(2*(a^7*b - 5*a^6*b
^2 + 10*a^5*b^3 - 10*a^4*b^4 + 5*a^3*b^5 - a^2*b^6)*d^2*cos(d*x + c)^2 - (a^7*b - 5*a^6*b^2 + 10*a^5*b^3 - 10*
a^4*b^4 + 5*a^3*b^5 - a^2*b^6)*d^2)*sqrt((25*a^4*b^5 + 100*a^3*b^6 + 110*a^2*b^7 + 20*a*b^8 + b^9)/((a^13 - 10
*a^12*b + 45*a^11*b^2 - 120*a^10*b^3 + 210*a^9*b^4 - 252*a^8*b^5 + 210*a^7*b^6 - 120*a^6*b^7 + 45*a^5*b^8 - 10
*a^4*b^9 + a^3*b^10)*d^4))) + 8*(2*(a - 4*b)*cos(d*x + c)^2 + a - b)*sin(d*x + c))/((a^2 - 2*a*b + b^2)*d*cos(
d*x + c)^3)
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate(sec(d*x+c)**4/(a-b*sin(d*x+c)**4),x)
[Out]
Timed out
________________________________________________________________________________________
Giac [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: NotImplementedError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate(sec(d*x+c)^4/(a-b*sin(d*x+c)^4),x, algorithm="giac")
[Out]
Exception raised: NotImplementedError